package com.xdl.backstage.base.entity;

import java.math.BigDecimal;
import java.util.Date;

public class DeptEntity {
    private String id;

    private String code;

    private String name;

    private String parentId;

    private BigDecimal sortValue;

    private String comment;

    private Date createTime;

    private UserManagerEntity createUser;

    private Date updateTime;

    private UserManagerEntity updateUser;

    private CompanyEntity company;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code == null ? null : code.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId == null ? null : parentId.trim();
    }

    public BigDecimal getSortValue() {
        return sortValue;
    }

    public void setSortValue(BigDecimal sortValue) {
        this.sortValue = sortValue;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

	public UserManagerEntity getCreateUser() {
		return createUser;
	}

	public void setCreateUser(UserManagerEntity createUser) {
		this.createUser = createUser;
	}

	public UserManagerEntity getUpdateUser() {
		return updateUser;
	}

	public void setUpdateUser(UserManagerEntity updateUser) {
		this.updateUser = updateUser;
	}

	public CompanyEntity getCompany() {
		return company;
	}

	public void setCompany(CompanyEntity company) {
		this.company = company;
	}

}